function reg(){
	var id = sessionStorage.getItem("id");
	if (id==null) {
		alert("需要登录才能进行相关操作")
		location.href="zhihu_index/index.html"
	} 
}
